<?php get_header(); ?>	
 		<div class="container">
 			<div class="articles">
 			<?php if (have_posts()) : ?>
 			
 				<?php while (have_posts()) : the_post(); ?>
 				
 				<div class="article">
 					<h1><?php the_title(); ?></h1>
					<div class="small">Geschrieben am <?php the_time('d.m.Y') ?> in <?php the_category(', ') ?> | <?php the_tags('Tags: ', ', ', ' |'); ?> <a href="#comments"><?php comments_number('Kommentar schreiben','1 Kommentar','% Kommentar'); ?></a></div>
					<?php the_content(); ?>
					
					<?php if (function_exists('related_posts_by_category')) {?>
					<h3 class="mt">Ähnliche Artikel</h3>
					<ul>
					  <?php do_action(
					    'related_posts_by_category',
					    array(
					      'orderby' => 'post_date',
					      'order' => 'DESC',
					      'limit' => 5,
					      'echo' => true,
					      'before' => '<li>',
					      'inside' => '',
					      'outside' => '',
					      'after' => '</li>',
					      'type' => 'post',
					      'message' => 'Leider noch keine ähnlichen Artikel vorhanden.'
					    )
					  ) ?>
					</ul>
					<?php } ?>
					
					<?php comments_template(); ?>
					
				</div>
 				
 				<?php endwhile; ?>
 					<div class="navigation">
						<div class="alignleft"><?php next_posts_link(__('&laquo; Ältere Artikel')) ?></div>
						<div class="alignright"><?php previous_posts_link(__('Aktuelle Artikel &raquo;')) ?></div>
					</div>
 				<?php else : ?>
 				<div class="article">
 					<p>Leider kein Artikel vorhanden.</p>
				</div>
 			<?php endif; ?>
 			</div>
 			
			<?php get_sidebar() ?>
			
			<div class="clear"></div>
 		</div>
<?php get_footer(); ?>